package com.bw.service.impl;

import com.bw.bean.Vo;
import com.bw.mapper.VoMapper;
import com.bw.service.VoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

//准备三层架构配置项目中的框架文件
@Service
public class VoServiceImpl implements VoService {
   //业务层代码梳理正确
   @Autowired
   VoMapper voMapper;

   @Override
   public List<Vo> getlist1() {
      return voMapper.getlist1();
   }

   @Override
   public List<Vo> getlist2() {
      return voMapper.getlist2();
   }

   @Override
   public Double getlist3() {
      return voMapper.getlist3();
   }

   @Override
   public List<Vo> getlist4() {
      return voMapper.getlist4();
   }
}
